home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 2,801 to 2,900
/
aol-file-protocol-4400-2801-to-2900.zip
/
AOLDLs
/
C++ Files Library
/
Acere (PowerPlant, Game) 1.2
/
AcereÄ.sit
/
Acereƒ
/
Code
/
WellStack.h
< prev
next >
Wrap
Text File
|
1995-02-15
|
1KB
|
66 lines
// ===========================================================================
// LPane.h ⌐1993 Metrowerks Inc. All rights reserved.
// ===========================================================================
#pragma once
#include <LAttachable.h>
#ifndef __EVENTS__
#include <Events.h>
#endif
#include <CardWell.h>
#if defined(powerc) || defined(__powerc)
#pragma options align=reset
#endif
class LDynamicArray;
class WellStack : public CardWell
{
public:
// instance variables
LDynamicArray *itsCards;
short cardsInStack, currentCard;
// methods
static WellStack* CreateWellStack(LStream *inStream);
WellStack();
WellStack(const WellStack &inOriginal);
WellStack(const SPaneInfo &inPaneInfo);
WellStack(LStream *inStream);
virtual void InitCard(void);
virtual ~WellStack();
// Ñ Drawing
virtual void Draw(RgnHandle inSuperDrawRgnH);
virtual void DrawSelf();
// virtual void PopulateStack(void);
virtual void InitCards(void);
// virtual Boolean CanDropOnEmptySlot(CardStruct *draggedCard);
virtual Boolean CanDropOnSlot(PlayingCard *draggedCard);
virtual void AddCardToWell(CardWell *whichWell, PlayingCard *whichCard);
virtual void RemoveCardFromWell(CardWell *whichWell, PlayingCard *whichCard);
virtual void AdjustFrame(void);
};